package com.winning.pmph.vo;

import com.winning.pmph.entity.ExamBookCatalogItem;
import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * 解析图书目录使用, 无对应数据库表;
 *
 * @author Administrator
 */
@Data
@XmlRootElement(name = "catalog")
@XmlAccessorType(XmlAccessType.FIELD)
public class ExamBookCatalog {
    private static final long serialVersionUID = 1L;

    private String bookId;

    @XmlElementWrapper(name = "front_of_catalog")
    @XmlElement(name = "item")
    private List<ExamBookCatalogItem> frontCatalogItemList;
    
    @XmlElementWrapper(name = "body_of_catalog")
    @XmlElement(name = "item")
    private List<ExamBookCatalogItem> bodyCatalogItemList;
    
    @XmlElementWrapper(name = "back_of_catalog")
    @XmlElement(name = "item")
    private List<ExamBookCatalogItem> backCatalogItemList;
}
